package com.oa.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Rolegroup entity. @author MyEclipse Persistence Tools
 */

public class Rolegroup implements java.io.Serializable {

	// Fields

	private Long rgid;
	private Long rcode;
	private String rname;
	private Set groupAuths = new HashSet(0);
	private Set emps = new HashSet(0);

	// Constructors

	/** default constructor */
	public Rolegroup() {
	}

	/** minimal constructor */
	public Rolegroup(Long rgid) {
		this.rgid = rgid;
	}

	/** full constructor */
	public Rolegroup(Long rgid, Long rcode, String rname, Set groupAuths,
			Set emps) {
		this.rgid = rgid;
		this.rcode = rcode;
		this.rname = rname;
		this.groupAuths = groupAuths;
		this.emps = emps;
	}

	// Property accessors

	public Long getRgid() {
		return this.rgid;
	}

	public void setRgid(Long rgid) {
		this.rgid = rgid;
	}

	public Long getRcode() {
		return this.rcode;
	}

	public void setRcode(Long rcode) {
		this.rcode = rcode;
	}

	public String getRname() {
		return this.rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public Set getGroupAuths() {
		return this.groupAuths;
	}

	public void setGroupAuths(Set groupAuths) {
		this.groupAuths = groupAuths;
	}

	public Set getEmps() {
		return this.emps;
	}

	public void setEmps(Set emps) {
		this.emps = emps;
	}

}